| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

ThreeChannelPack.h
1 // ThreeChannelPack.h
3 //
5
6 namespace nkAstraeus
7 {
12 enum class THREE_CHANNEL_PACK
13 {
14 RGB = 0,
15 RBG,
16 RGA,
17 RAG,
18 RBA,
19 RAB,
20 GRB,
21 GBR,
22 GRA,
23 GAR,
24 GBA,
25 GAB,
26 BRG,
27 BGR,
28 BRA
29 BAR,
30 BGA,
31 BAG,
32 ARG,
33 AGR,
34 AGB,
35 ABG,
36 ARB,
37 ABR
38 } ;
39
43 class ThreeChannelPackUtils final
44 {
45 public :
46
47 // Translation
56 static nkMemory::StringView enumToStringLower (THREE_CHANNEL_PACK value) ;
65 static THREE_CHANNEL_PACK stringLowerToEnum (nkMemory::StringView value) ;
66 } ;
67 }
nkAstraeus::THREE_CHANNEL_PACK::BAR
@ BAR
Blue, red, alpha channels.
nkAstraeus::THREE_CHANNEL_PACK::BGA
@ BGA
Blue, green, alpha channels.
nkAstraeus::THREE_CHANNEL_PACK::ABR
@ ABR
Alpha, blue, red channels.
nkAstraeus::THREE_CHANNEL_PACK::GRA
@ GRA
Green, red, alpha channels.
nkAstraeus::THREE_CHANNEL_PACK::BRG
@ BRG
Blue, red, green channels.
nkAstraeus::THREE_CHANNEL_PACK::GAB
@ GAB
Green, alpha, blue channels.
nkAstraeus::ThreeChannelPackUtils
Offers utilities to use with the THREE_CHANNEL_PACK enumeration class.
Definition: ThreeChannelPack.h:44
nkAstraeus::THREE_CHANNEL_PACK::AGB
@ AGB
Alpha, green, blue channels.
nkAstraeus::ThreeChannelPackUtils::enumToStringLower
static nkMemory::StringView enumToStringLower(THREE_CHANNEL_PACK value)
nkAstraeus::THREE_CHANNEL_PACK::RBG
@ RBG
Red, blue, green channels.
nkAstraeus::THREE_CHANNEL_PACK
THREE_CHANNEL_PACK
Enumeration of texture channels, packed by three. The channel order is encoded in each value,...
Definition: ThreeChannelPack.h:13
nkAstraeus::THREE_CHANNEL_PACK::ARG
@ ARG
Alpha, red, green channels.
nkAstraeus::THREE_CHANNEL_PACK::RAG
@ RAG
Red, alpha, green channels.
nkAstraeus::THREE_CHANNEL_PACK::GAR
@ GAR
Green, alpha, red channels.
nkAstraeus::THREE_CHANNEL_PACK::BAG
@ BAG
Blue, alpha, green channels.
nkAstraeus::THREE_CHANNEL_PACK::RBA
@ RBA
Red, blue, alpha channels.
nkAstraeus::THREE_CHANNEL_PACK::ARB
@ ARB
Alpha, red, blue channels.
nkAstraeus::THREE_CHANNEL_PACK::GRB
@ GRB
Green, red, blue channels.
nkAstraeus::THREE_CHANNEL_PACK::RGA
@ RGA
Red, green, alpha channels.
nkAstraeus::THREE_CHANNEL_PACK::GBA
@ GBA
Green, blue, alpha channels.
nkAstraeus
Encompasses all API of component NilkinsAstraeus.
Definition: BlurComplexEffect.h:7
nkAstraeus::THREE_CHANNEL_PACK::AGR
@ AGR
Alpha, green, red channels.
nkAstraeus::ThreeChannelPackUtils::stringLowerToEnum
static THREE_CHANNEL_PACK stringLowerToEnum(nkMemory::StringView value)
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkAstraeus::THREE_CHANNEL_PACK::BGR
@ BGR
Blue, green, red channels.
nkAstraeus::THREE_CHANNEL_PACK::RAB
@ RAB
Red, alpha, blue channels.
nkAstraeus::THREE_CHANNEL_PACK::ABG
@ ABG
Alpha, blue, green channels.
nkAstraeus::THREE_CHANNEL_PACK::RGB
@ RGB
Red, green, blue channels.
nkAstraeus::THREE_CHANNEL_PACK::GBR
@ GBR
Green, blue, red channels.